import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';
import 'vant/lib/index.css';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//图片预览插件
import Viewer from 'v-viewer'
import 'viewerjs/dist/viewer.css'

Vue.config.productionTip = false
Vue.use(Vant);
Vue.use(ElementUI);
Vue.use(Viewer)
// 事件总线
Vue.prototype.$bus = new Vue()
Vue.prototype.eleimg ="https://fuss10.elemecdn.com"

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')